here is a tricky test \begin{myenv}
	\begin{equation*}f(x)=x^2\end{equation*}\end{myenv}
\begin{equation*}f(x)=x^2\end{equation*}
\begin{equation*}f(x)=x^2\end{equation*}

\begin{myen}
	body of text
	body of text
	body of text
\end{myen}

here is a tricky test \begin{myenv}text text
	\begin{equation*}f(x)=x^2\end{equation*}text text\end{myenv} text text
\begin{equation*}f(x)=x^2\end{equation*} text text
\begin{equation*}f(x)=x^2\end{equation*} text text
